package com.jy.rhin.model.body.fuyou;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ShengZhiQi {
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.244.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_244_00))
	String eLuYCBZ;
	
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.025.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/entryRelationship/observation/value/text()", xValid = @XValid(nullable = true,type = "dataElement", dataElement = EDataElement.DE04_10_025_00))
	String eLuQK;
	
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.072.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_072_00))
	String gongTiYCBZ;
	
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.073.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/entryRelationship/observation/value/text()", xValid = @XValid(nullable=true,type = "dataElement", dataElement = EDataElement.DE04_10_073_00))
	String gongTiQK;
	
	@XPath(path = "/entry/observation/code[@code='DE05.01.039.00'][@codeSystem='2.16.156.10011.2.2.1']/../value",
			xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_039_00))
	CodeObject shangKouYH;
	
}
